package com.jinmdz.app.api.api.model.common;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;

/**
 * 主键版本号请求数据
 *
 * @author LiCongLu
 * @date 2020-02-21 12:30
 */
@ApiModel(value = "主键版本号请求数据", description = "主键版本号请求数据")
public class IdListData extends BaseBean {
    /**
     * 业务编码
     */
    @AnValidate(name = "业务编码", required = true)
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 主键集合
     */
    @AnValidate(name = "主键集合", required = true)
    @ApiModelProperty(value = "主键集合", name = "ids", position = 2)
    private ArrayList<IdVersionData> ids;

    public IdListData() {

    }

    public String getBusinessCode() {
        return businessCode;
    }

    public IdListData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public ArrayList<IdVersionData> getIds() {
        return ids;
    }

    public IdListData setIds(ArrayList<IdVersionData> ids) {
        this.ids = ids;
        return this;
    }
}
